package com.tang.portal.component.pay.impl;

import com.tang.common.exception.BusinessException;
import com.tang.common.exception.eumes.Error;
import com.tang.portal.component.pay.PayService;
import com.tang.portal.component.pay.model.callback.CallBack;
import com.tang.portal.component.pay.model.create.req.BankCreatePay;
import com.tang.portal.component.pay.model.create.res.BankCreatePayResponse;
import com.tang.portal.component.pay.model.refund.req.BankRefund;
import com.tang.portal.component.pay.model.refund.res.BankRefundResponse;
import com.tang.portal.component.pay.model.withdraw.req.base.Withdraw;
import com.tang.portal.component.pay.model.withdraw.res.base.WithdrawResponse;
import org.springframework.stereotype.Component;

/**
 * 银行卡支付
 * @author tang jun liang
 * @Date 2023/6/25 13:38
 */
@Component("bankPayService")
public class BankPayServiceImpl implements PayService<BankCreatePay, BankCreatePayResponse, BankRefund, BankRefundResponse,
        Withdraw, WithdrawResponse, CallBack> {


    @Override
    public BankCreatePayResponse create(BankCreatePay createPay) {
        throw new BusinessException(Error.NOT_IMPLEMENTED);
    }

    @Override
    public BankRefundResponse refund(BankRefund refund) {
        throw new BusinessException(Error.NOT_IMPLEMENTED);
    }

    @Override
    public WithdrawResponse withdraw(Withdraw withdraw) {
        throw new BusinessException(Error.NOT_IMPLEMENTED);
    }

    @Override
    public void callBack(CallBack callBack) {
        throw new BusinessException(Error.NOT_IMPLEMENTED);
    }
}
